package SellCar.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Service;

import SellCar.dao.news.impl.NewsMapperImpl;
import SellCar.pojo.News;
import SellCar.service.NewsBiz;
@Service("newsBizImpl")
public class NewsBizImpl implements NewsBiz{
	@Autowired
	@Qualifier("newsMapperImpl")
	private NewsMapperImpl newsMapperImpl;
	
	public List<News> getNewslist() {
		return newsMapperImpl.getNewslist();
	}

}
